
/***************************************************/
/*     export.h     Header file for export.cpp     */
/*                  By: Josh Fiorio                */
/***************************************************/

#ifndef _EXPORT_H_
#define _EXPORT_H_

/* chaoxed libraries */
#include "chaotix_art.h"
#include "chaotix_palette.h"
#include "framebuffer.h"

#define BYTE unsigned char
#define WORD unsigned short
#define GetRValue(c) ((BYTE)(c))
#define GetGValue(c) ((BYTE)(((WORD)(c))>>8))
#define GetBValue(c) ((BYTE)((c)>>16))

/* function prototypes */
void BufToBitmap(char [], FrameBuffer &);
void BufToUArt(char [], FrameBuffer &, palette &);
void PaletteToFile(char [], palette &);

#endif /* _EXPORT_H_ */
